f = open('f.txt','a+')
f.writelines('\n最后一行在这里')
f.seek(2)
for line in f:
    print(line)
f.close()
